/* ==========================================
   TABELA DE RANKING
   ========================================== */
.ranking-table-container {
    background: #0a0a0a;
    border: 1px solid #1a1a1a;
    border-radius: 12px;
    overflow: hidden;
    margin-top: 40px;
}

.ranking-table-header {
    display: grid;
    grid-template-columns: 100px 1fr 120px 100px 100px;
    background: #000;
    padding: 15px 20px;
    border-bottom: 2px solid #0fc;
    font-weight: bold;
    color: #0fc;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
}

.ranking-table-body {
    max-height: 500px;
    overflow-y: auto;
}

.ranking-row {
    display: grid;
    grid-template-columns: 100px 1fr 120px 100px 100px;
    padding: 15px 20px;
    border-bottom: 1px solid #1a1a1a;
    transition: all 0.3s ease;
    align-items: center;
}

.ranking-row:hover {
    background: rgba(0, 255, 204, 0.05);
    transform: translateX(5px);
}

.rank-col {
    font-weight: bold;
    color: #0fc;
}

.user-col {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-avatar {
    width: 35px;
    height: 35px;
    background: #0fc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #000;
}

.user-name {
    font-weight: 600;
}

.xp-col {
    color: #ffd700;
    font-weight: bold;
}

.level-col {
    color: #0fc;
}

.modulos-col {
    color: #888;
}

/* SCROLL PERSONALIZADO */
.ranking-table-body::-webkit-scrollbar {
    width: 4px;
}
.ranking-table-body::-webkit-scrollbar-track {
    background: #050505;
}
.ranking-table-body::-webkit-scrollbar-thumb {
    background: #0fc;
    border-radius: 4px;
}